package com.cxyjy.pptdemoapi.service;

import com.cxyjy.common.util.JResponse;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;

/**
 * @Author: JrsJony
 * @Date : 2025/1/20 15:52
 */
public interface PPTCreateService {
    public void createOutline(String textStr, HttpServletResponse httpServletResponse) throws IOException, NoSuchAlgorithmException, KeyManagementException;


    void createPpt(String usrText, String conversationId, HttpServletResponse response) throws NoSuchAlgorithmException, IOException, KeyManagementException;

    JResponse zhipuFileUpload(MultipartFile file, String purpose) throws IOException;
}
